package org.whm.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.whm.domain.dao.TestDao;
import org.zkdg.utils.entity.PageParam;
import org.zkdg.utils.entity.PageVo;
import org.zkdg.utils.spring.annotations.EnablePaging;

@Service
public class TestService {

	@Autowired
	private TestDao dao;

	@EnablePaging
	public PageVo<Map<String, Object>> getData(PageParam param) {
		// TODO Auto-generated method stub
		List<Map<String, Object>> data = dao.getData();
		System.out.println(data.size());
		return null;
	}

}
